package com.sh.data.engine.application.model.request.normalization;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * @author boyue.wjl
 */
@Data
public class MappingReportDetailRequest {

    @Schema(description = "数据库id")
    @NotNull
    private Long datasourceBaseId;

    @Schema(description = "默认页数")
    @NotNull
    @Min(0)
    private Integer pageNum = 0;

    @Schema(description = "默认页的大小")
    @NotNull
    @Min(1)
    private Integer pageSize = 10;
}
